namespace NewsReport.Entity.POCOModel
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("AnnouncementInfo")]
    public partial class AnnouncementInfo
    {
        [Key]
        public int AnID { get; set; }

        [Required]
        [StringLength(30)]
        public string AnTitle { get; set; }

        [Required]
        [StringLength(200)]
        public string AnContent { get; set; }

        public DateTime AnTime { get; set; }

        public int? Admid { get; set; }

        public virtual AdminInfo AdminInfo { get; set; }
    }
}
